//
//  BookOrderDetailCell.m
//  KuWeiPark
//
//  Created by Kevin Su on 15/4/29.
//  Copyright (c) 2015年 Clief. All rights reserved.
//

#import "BookOrderDetailCell.h"
#import "AppMacro.h"

@implementation BookOrderDetailCell

- (void)awakeFromNib {
    // Initialization code
    
    self.cancelBtn.layer.masksToBounds = YES;
    self.cancelBtn.layer.cornerRadius = 3;
    self.cancelBtn.layer.borderColor = MAIN_GREEN_COLOR.CGColor;
    self.cancelBtn.layer.borderWidth = 1;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)initDataWithSubBookingOrderModel:(SubBookingOrderModel *)model{
    
    NSString *descriptionText;
    if([model.subBookingOrderStatus integerValue] == 1){
        
        descriptionText = [NSString stringWithFormat:@""];
    }else{
        
        
    }
    
    self.messageLabel.text = [NSString stringWithFormat:@"%@ 车位号%@", model.carNumber, model.parkingSpaceNo];
}

@end
